package com.foton.websocket.utils;

public class DingTalkUtil {


 /**===============================================DING TALK 钉钉接口 ===============================================================**/

// https://lut3qh.aliwork.com/o/xiaoyutest?number=9083424242&pwd=ODg3Nzg4x



//1：获取token接口
// POST https://oapi.dingtalk.com/gettoken
private final static String DING_TALK_GET_TOKEN = "https://oapi.dingtalk.com/gettoken";


//POST 2:获取根据钉钉得userID获取对应unionid值
//https://oapi.dingtalk.com/topapi/v2/user/get?access_token=0872b69688a53d87838e12a8281668a9
private final static String DING_TALK_GET_UNIONID = "https://oapi.dingtalk.com/topapi/v2/user/get";




//3:创建日程
//POST /v1.0/calendar/users/{userId}/calendars/{calendarId}/events
private final static String DING_TALK_CREATE_DAILY = "https://oapi.dingtalk.com/topapi/v1.0/calendar/users/{userId}/calendars/{calendarId}/events";


//4:创建完日程进行异步消息得发送，组织小鱼scheme携带会议号，会议密码，账号
//https://oapi.dingtalk.com/topapi/message/corpconversation/asyncsend_v2
private final static String DING_TALK_ASYNC_SEND_MSG = "https://oapi.dingtalk.com/topapi/message/corpconversation/asyncsend_v2";



}
